ACFWF\Models\Store_Credits\Admin A

Total Complexity 69
Dependencies 10
Dependents 1
Total lines 754
Lines of code 311
Logical lines of code 183
Comment lines 322
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
update_store_credits_in_order()
A
43 6 46
ajax_apply_store_credits_to_order()
S
50 6 27
apply_store_credits_to_order()
S
50 5 27
deduct_store_credit_amount_from_total_discounts_on_edit_order_page()
S
61 6 11
display_apply_store_credits_discount_in_edit_order_page()
S
56 5 18
display_store_credits_payment_summary()
S
54 4 19
display_recalculate_button_for_old_orders_store_credits_discount()
S
61 4 13
manual_refund_via_store_credits()
S
50 3 27
_init_settings()
S
67 4 7
_create_db_table()
S
55 2 22
run()
S
57 2 16
order_recalculate_store_credit_discounts()
S
65 3 9
display_store_credits_summary_in_order_preview_popup()
S
68 3 6
_delete_store_credits_from_order()
S
61 2 12
get_instance()
S
70 2 6
append_store_credits_to_refund_item_name()
S
70 2 6
display_paid_in_store_credits_row()
S
66 2 8
display_store_credits_discount_on_edit_order()
S
66 2 8
set_zero_balance_for_new_registered_user()
S
70 2 6
initialize()
S
70 2 6
activate()
S
78 1 4
__construct()
S
68 1 7